package com.example.concurrentprogramming8016.synchronizedLearn;

import org.openjdk.jol.info.ClassLayout;

/**
 * @author liyanhao
 * @Date 2023-01-04 18:08
 */
public class ObjectTest {
    public static void main(String[] args) {
        Test test = new Test();
        //查看对象内部信息
        System.out.println(ClassLayout.parseInstance(test).toPrintable());

    }
}

class Test{
    private int p;

}
